-- GENERATED SPELL FOR [Wildthorn Lurker] --


function spell0_3821(pUnit, Event) --@Hide,Self--
pUnit:FullCastSpellOnTarget(6920,pUnit)
pUnit:RegisterEvent('Sorts_3821', 611, 1)
end

function Sorts_3821(pUnit, Event)
local choix_sorts_3821 = math.random(0, 0)
if choix_sorts_3821 == 0 then
pUnit:RegisterEvent('spell0_3821', 1, 1)
end
end

function mob3821_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3821', math.random(1500, 3000), 1)
end

function mob3821_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3821_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3821_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3821, 1, 'mob3821_Action')
RegisterUnitEvent(3821, 2, 'mob3821_Leave')
RegisterUnitEvent(3821, 3, 'mob3821_Kill')
RegisterUnitEvent(3821, 4, 'mob3821_Die')
